package com.springboot.myspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.myspringboot.entity.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where username=#{username}")
    User selectByUsername(String username);
}
